﻿using Photo.Core.EnumSummary.System;

namespace Photo.Entity.System
{
    /// <summary>
    /// 系统-数据字典实体类
    /// </summary>
    [SugarTable("System_Dict", "系统-数据字典")]
    public class SysDictEntity : BaseEntity
    {
        /// <summary>
        /// 字典类型
        /// </summary>
        public EnumSysDictType? Type { get; set; }
        /// <summary>
        /// 字典值
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? IsActive { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int? Sort { get; set; }
        /// <summary>
        /// 字典父级id
        /// </summary>
        public string PId { get; set; }
    }
}
